#-------------------------------------------------
#
# Project created by QtCreator 2010-07-09T07:40:49
#
#-------------------------------------------------

QT       += core gui multimedia network sql

TARGET = boxplayer_13
TEMPLATE = app multimedia

PRECOMPILED_HEADER = stable.h

HEADERS += stable.h \
    input/t_box_input.h \
    t_httpreply.h \
    t_httpbackend.h \
    t_box_bar.h \
    t_box.h \
    t_box_seek_manager.h \
    widget.h \
    misc.h \
    t_my_av_utils.h \
    t_av_packet.h \
    t_box_player_ctx.h \
    input/t_box_seq.h \
    input/t_box_input_sequence.h \
    avcodec/t_avcodec.h \
    t_box_audio.h \
    t_box_context.h \
    input/input.h

SOURCES += main.cpp \
    input/t_box_input.cpp \
    widget.cpp \
    t_my_av_utils.cpp \
    t_av_packet.cpp \
    t_box_player_ctx.cpp \
    t_httpreply.cpp \
    t_httpbackend.cpp \
    t_box_bar.cpp \
    t_box.cpp \
    t_box_seek_manager.cpp \
    widget_media.cpp \
    input/t_box_seq.cpp \
    input/t_box_input_sequence.cpp \
    avcodec/t_avcodec.cpp \
    t_box_audio.cpp \
    t_box_context.cpp

FORMS    += \
    widget.ui

OTHER_FILES += \
    todo.txt

include(../box/yt_dump_lib.env)
include(../common/t_core.env)

#[Debug Release Build]
#QMAKE_CFLAGS_RELEASE = -g
#QMAKE_CXXFLAGS_RELEASE = -g
#QMAKE_LFLAGS_RELEASE =

#[ffmpeg]
INCLUDEPATH += E:\Qt\ffmpeg-r23711-bin\include
QMAKE_LFLAGS += -LE:\Qt\ffmpeg-r23711-bin\lib
LIBS += -lavcodec -lavdevice -lavfilter -lavformat -lavutil -lswscale -lavcodec
LIBS += -lws2_32 -lvfw32

QMAKE_CXXFLAGS += -DUSE_AUDIO_THREAD=1
QMAKE_CXXFLAGS += -DUSE_DECODE_DEBUG=0
QMAKE_CXXFLAGS += -DNUM_AHEAD_IMAGES=2
